package com.tm.chargecar.service;

import com.tm.chargecar.dto.BusinessDto;
import com.tm.chargecar.entity.BzBsEntity;
import com.tm.chargecar.result.Result;
import org.springframework.stereotype.Service;

/**
 * @author wangSang
 * @create 2022-08-25 9:59
 *
 * 商家余额
 */

public interface BusinessService {
    /**
     *  查询对应商家余额
     * @param bsUser
     * @return
     */
    Result queryBusiness(Long bsUser);
    /**
     *  商家提现
     * @param bsUser
     * @return
     */
    Result updateBusiness(BusinessDto bsUser);

    /**
     *  商家回本
     */
     Result   addBusiness(BzBsEntity bzBsEntity);

    /**
     *
     * @param businessDto
     * @return
     */
    Result putBalance(BusinessDto businessDto);
}
